#include "utils.hpp"

std::ostream & operator<<(std::ostream & os, GameObject::direction const & obj)
{
    switch (obj)
    {
        case GameObject::DOWN:
            os << "DOWN";
            break;
        case GameObject::UP:
            os << "UP";
            break;
        case GameObject::LEFT:
            os << "LEFT";
            break;
        case GameObject::RIGHT:
            os << "RIGHT";
            break;
        default: break;
    }
    return os;
}
